package com.entity;

public class Emp {

	private Integer empId;
	private String ename;
	private Integer sex;
	private String job;
	private Dept dept;
	public Integer getEmpId() {
		return empId;
	}
	public void setEmpId(Integer empId) {
		this.empId = empId;
	}
	public String getEname() {
		return ename;
	}
	public void setEname(String ename) {
		this.ename = ename;
	}
	
	
	public Integer getSex() {
		return sex;
	}
	public void setSex(Integer sex) {
		this.sex = sex;
	}
	public Dept getDept() {
		return dept;
	}
	public void setDept(Dept dept) {
		this.dept = dept;
	}
	public Emp() {
		super();
	}
	
	public String getJob() {
		return job;
	}
	public void setJob(String job) {
		this.job = job;
	}
	@Override
	public String toString() {
		return "Emp [empId=" + empId + ", ename=" + ename + ", sex=" + sex
				+ ", job=" + job + ", dept=" + dept + "]";
	}

	
	
}
